<p>The Jones International University Course Development Portal is a systematic way for course authors and instructional designers to prepare a course utilizing the tenents of the JIU course design model.</p>
<h2>Dashboard for <?php echo $row_user['firstName']." ".$row_user['lastName']; ?></h2>
<?php //if ($row_user['user_level'] == "1") { // dashboard for instructional designers and admins ?>
<table class="dataTable">
  <tr>
    <th>Course</th>
    <th>Author</th>
    <th>Last Updated</th>
  </tr>
<?php do { 
mysql_select_db($database, $connection);
$query_author = sprintf("SELECT * FROM users WHERE id='%s'", $row_courses['aid']); 
$author = mysql_query($query_author, $connection) or die(mysql_error());
$row_author = mysql_fetch_assoc($author);
?>
  <tr style="background-color: <?php echo $color; ?>">
    <td class="data" width="35%"><a href="index.php?section=view_proposal&cid=<?php echo $row_courses['id'];?>"><?php echo $row_courses['jiu_course_id'].": ".$row_courses['name']; ?></a></td>
    <td class="data" width="20%"><span class="icon"><a href="mailto:<?php echo $row_author['email']; ?>?subject=<?php echo $row_courses['jiu_course_id'].": ".$row_courses['name']; ?>"><img src="images/email_go.png" border="0" align="absmiddle" title="Send <?php echo $row_author['firstName']." ".$row_author['lastName']; ?> an email." /></a></span><?php echo $row_author['firstName']." ".$row_author['lastName']; ?></td>
    <td class="data"><?php // need a function to interpret date() and time(); ?></td>
  </tr>
<?php if ($color == $color1) { $color = $color2; } else { $color = $color1; } ?>
<?php } while ($row_courses = mysql_fetch_assoc($courses)); ?>
</table>

<?php // } ?>

<?php // if ($row_user['user_level'] == "2") { // dashboard for content experts ?>

<?php // } ?>